package com.baizhi;

import com.baizhi.dao.CategoryMapper;
import com.baizhi.po.CategoryPO;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
public class YingxDpTestFront {

    @Resource
    CategoryMapper categoryMapper;

    @Test
    void testCategoryMapper(){
        List<CategoryPO> cateAll = categoryMapper.queryCateAll();
        for (CategoryPO categoryPO : cateAll) {
            System.out.println(categoryPO);
        }
    }
}
